package com.lei.day03keshang.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

@Entity(nameInDb = "STUDENTBEAN")
public class StudentBean {
    @Id(autoincrement = true)
    @Unique
    private Long id;
    @Property(nameInDb = "name")
    private String name;

    @Property(nameInDb = "mark")
    private String mark;
    

    @Generated(hash = 1467633619)
    public StudentBean(Long id, String name, String mark) {
        this.id = id;
        this.name = name;
        this.mark = mark;
    }

    @Generated(hash = 2097171990)
    public StudentBean() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMark() {
        return this.mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }
}
